package com.hgsoft.excel.annotation;

import java.lang.annotation.*;

/**
 * ExcelAnnotation
 *
 * @author fanglong
 * @date 2016/7/15
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface ExcelAnnotation {
    String dataListName() default "";

    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.FIELD)
    @interface ExcelColumn {
        String templateColumnField() default "";
    }

    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.FIELD)
    @interface ExcelDiscreteName {
        String templateColumnField() default "";
    }
}
